package com.sxran.im.bean;

import com.sxran.im.info.ImUser;
import com.sxran.im.info.SuperInfo;

/**
 * 通知
 */
public class NotificationBody extends SuperInfo{
    /**
     * 通知的唯一id内容;
     */
    private String uuid;
    /**
     * 发送用户id;
     */
    private ImUser from;
    /**
     * 通知类型.
     */
    private Integer type;
    /**
     * 目标用户id数组;
     */
    private String[] targetList;
    /**
     * 消息内容;
     */
    private Object content;
    /**
     * 后端服务端生成的：消息创建时间
     * new Date().getTime()
     */
    protected Long serviceCreateTime;

    public ImUser getFrom() {
        return from;
    }

    public void setFrom(ImUser from) {
        this.from = from;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String[] getTargetList() {
        return targetList;
    }

    public void setTargetList(String[] targetList) {
        this.targetList = targetList;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    public Long getServiceCreateTime() {
        return serviceCreateTime;
    }

    public void setServiceCreateTime(Long serviceCreateTime) {
        this.serviceCreateTime = serviceCreateTime;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
